package com.example.day03.ex09;

/**
 * @author 17976
 */
public class DoWhileDemo {
    public static void main(String[] args) {

        for(int i=1; i<=5; i++) {
            System.out.println("HelloWorld");
        }
        System.out.println("--------");

        int j = 1;
        do {
            System.out.println("HelloWorld");
            j++;
        }while(j<=5);
    }
}
